Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > sci.physics > #532441 > unrolled thread

Scalar and Vector Product Code

Started byFabian Russell <root@localhost.localdomain>
First post2015-11-12 20:30 +0000
Last post2015-11-13 02:11 +0000
Articles 6 on this page of 26 — 7 participants

Back to article view | Back to sci.physics


Contents

  Scalar and Vector Product Code Fabian Russell <root@localhost.localdomain> - 2015-11-12 20:30 +0000
    Re: Scalar and Vector Product Code jimp@specsol.spam.sux.com - 2015-11-12 20:40 +0000
      Re: Scalar and Vector Product Code Fabian Russell <root@localhost.localdomain> - 2015-11-12 21:03 +0000
        Re: Scalar and Vector Product Code Sam Wormley <swormley1@gmail.com> - 2015-11-12 15:58 -0600
          Re: Scalar and Vector Product Code Fabian Russell <root@localhost.localdomain> - 2015-11-12 22:34 +0000
        Re: Scalar and Vector Product Code jimp@specsol.spam.sux.com - 2015-11-12 21:54 +0000
          Re: Scalar and Vector Product Code Fabian Russell <root@localhost.localdomain> - 2015-11-12 22:31 +0000
            Re: Scalar and Vector Product Code jimp@specsol.spam.sux.com - 2015-11-12 23:08 +0000
              Re: Scalar and Vector Product Code Fabian Russell <root@localhost.localdomain> - 2015-11-12 23:27 +0000
    Re: Scalar and Vector Product Code Poutnik <poutnik4nntp@gmail.com> - 2015-11-12 21:55 +0100
      Re: Scalar and Vector Product Code Fabian Russell <root@localhost.localdomain> - 2015-11-12 21:07 +0000
        Re: Scalar and Vector Product Code jimp@specsol.spam.sux.com - 2015-11-12 21:59 +0000
          Re: Scalar and Vector Product Code Fabian Russell <root@localhost.localdomain> - 2015-11-12 22:36 +0000
          Re: Scalar and Vector Product Code Fabian Russell <root@localhost.localdomain> - 2015-11-12 22:53 +0000
            Re: Scalar and Vector Product Code jimp@specsol.spam.sux.com - 2015-11-12 23:17 +0000
              Re: Scalar and Vector Product Code Fabian Russell <root@localhost.localdomain> - 2015-11-12 23:47 +0000
                Re: Scalar and Vector Product Code jimp@specsol.spam.sux.com - 2015-11-13 00:21 +0000
                  Re: Scalar and Vector Product Code Fabian Russell <root@localhost.localdomain> - 2015-11-13 00:46 +0000
                    Re: Scalar and Vector Product Code jimp@specsol.spam.sux.com - 2015-11-13 01:04 +0000
                      Re: Scalar and Vector Product Code Fabian Russell <root@localhost.localdomain> - 2015-11-13 01:39 +0000
      dot product noTthaTguY <abu.kuanysh05@gmail.com> - 2015-11-13 13:41 -0800
    Re: Scalar and Vector Product Code Double-A <double-a3@hush.com> - 2015-11-12 15:01 -0800
      Re: Scalar and Vector Product Code Fabian Russell <root@localhost.localdomain> - 2015-11-12 23:36 +0000
    Re: Scalar and Vector Product Code gilber34 <fafa@invalid.com> - 2015-11-12 19:07 -0600
      Re: Scalar and Vector Product Code Fabian Russell <root@localhost.localdomain> - 2015-11-13 01:51 +0000
        Re: Scalar and Vector Product Code jimp@specsol.spam.sux.com - 2015-11-13 02:11 +0000

Page 2 of 2 — ← Prev page 1 [2]


#532843 — dot product

FromnoTthaTguY <abu.kuanysh05@gmail.com>
Date2015-11-13 13:41 -0800
Subjectdot product
Message-ID<67812273-fd7b-4cb2-8cff-eba0416a3327@googlegroups.com>
In reply to#532450
dt is the canonical scalar variable;
time is the canonical scalar, scalar

> You may as well want next time physicists should be able
> to implement sin, atan, exp and ln functions
> by the Czebyshev ortogonal polynom approximation.
> 
> -- 
> Poutnik ( the Czech word for a wanderer )
> 
> Knowledge makes great men humble, but small men arrogant.

[toc] | [prev] | [next] | [standalone]


#532518

FromDouble-A <double-a3@hush.com>
Date2015-11-12 15:01 -0800
Message-ID<6580c191-4a35-4766-bb78-f179abbf2e58@googlegroups.com>
In reply to#532441
On Thursday, November 12, 2015 at 12:30:35 PM UTC-8, Fabian Russell wrote:
> Greetings physics enthusiasts,
> 
> The scalar and vector products are fundamental operations
> in physics and every physicist worth his salt should know
> how to fully implement them.
> 
> Your task is to write assembly language code using the 
> Intel x64 SIMD instruction set to calculate both the scalar
> and vector products.
> 
> Now, in the latest Core 2 processors, Intel has already
> introduced an actual instruction for the scalar product,
> but write one anyway using independent SSE or AVX code.
> 
> Also, in addition to assembly code using SIMD, write the
> same routines in 387 instructions to exploit extended
> precision.
> 
> All those who cannot accomplish this task should consider
> themselves pathetic throwbacks to ancient times.
> 
> To all those whose first reaction to all of this will be
> to proclaim irrelevance I will only say: "Fsck you, ginger
> lickers!"


Sounds like something I did 46 years ago on the Olivetti Programma 101.  I made my living for many years using IBM mainframe assembly language.  Nothing beats the speed and efficiency.  PC compatible assembly languages have not as powerful an instruction set, but I am sure still nothing can beat their efficiency.  

Double-A

[toc] | [prev] | [next] | [standalone]


#532543

FromFabian Russell <root@localhost.localdomain>
Date2015-11-12 23:36 +0000
Message-ID<pan.2015.11.12.23.36.53@localhost.localdomain>
In reply to#532518
On Thu, 12 Nov 2015 15:01:08 -0800, Double-A wrote:

> 
> Nothing beats the speed and efficiency.
>

Oh fsck yeah.

You should see some of the stuff I wrote (and still do).  I started
with straightforward data acquisition, for which assembly is absolutely
necessary to achieve the precise timing, but I soon became proficient,
and cavalier, enough to extend that to data processing, graphics, etc.
That latter stuff is usually relegated to high-level code, but if you
refuse to be a slave of convention then assembly is perfectly suitable,
It may take 2-3 times longer to produce code, but I am not averse to
telling any managerial types to go and stuff themselves if they were
to give me any trouble about it.

These schmucks on sci.physics and elsewhere couldn't code in assembly
if their lives depended on it and consequently, to avoid the shame
of ineptitude, will rally against its use.

You, sir, are a person of true understanding, and I commend you highly.

[toc] | [prev] | [next] | [standalone]


#532579

Fromgilber34 <fafa@invalid.com>
Date2015-11-12 19:07 -0600
Message-ID<n23d40$o2e$1@speranza.aioe.org>
In reply to#532441
On 11/12/2015 2:30 PM, Fabian Russell wrote:
> Greetings physics enthusiasts,
>
> The scalar and vector products are fundamental operations
> in physics and every physicist worth his salt should know
> how to fully implement them.
>
> Your task is to write assembly language code

WHACK !!!  bad boy!
nobody does this anymore, move on up to the 80's


>
> All those who cannot accomplish this task should consider
> themselves pathetic throwbacks to ancient times.

and all those that can are pathetic throwbacks...


so tell us what is the difference between a scalar and vector product ?

WITHOUT going to the wiki.


[toc] | [prev] | [next] | [standalone]


#532591

FromFabian Russell <root@localhost.localdomain>
Date2015-11-13 01:51 +0000
Message-ID<pan.2015.11.13.01.51.57@localhost.localdomain>
In reply to#532579
On Thu, 12 Nov 2015 19:07:02 -0600, gilber34 wrote:


> 
> and all those that can are pathetic throwbacks...
> 

You couldn't even do it C.

You'd need to instantiate the ScalarProduct and VectorProduct classes
in C++ to be able to get anywhere.

Loser.

[toc] | [prev] | [next] | [standalone]


#532605

Fromjimp@specsol.spam.sux.com
Date2015-11-13 02:11 +0000
Message-ID<uetfhc-6b5.ln1@mail.specsol.com>
In reply to#532591
Fabian Russell <root@localhost.localdomain> wrote:
> On Thu, 12 Nov 2015 19:07:02 -0600, gilber34 wrote:
> 
> 
>> 
>> and all those that can are pathetic throwbacks...
>> 
> 
> You couldn't even do it C.
> 
> You'd need to instantiate the ScalarProduct and VectorProduct classes
> in C++ to be able to get anywhere.

Yet more bullshit babble.


-- 
Jim Pennino

[toc] | [prev] | [standalone]


Page 2 of 2 — ← Prev page 1 [2]

Back to top | Article view | sci.physics


csiph-web