Vector products: Difference between revisions
Content added Content deleted
(→{{header|Euphoria}}: Euphoria example added) |
m (→{{header|Ruby}}: Remove phantom category 'matrix'.) |
||
Line 1,290: | Line 1,290: | ||
Dot product is also known as ''inner product''. The standard library already defines Vector#inner_product, so this program only defines the other three methods. |
Dot product is also known as ''inner product''. The standard library already defines Vector#inner_product, so this program only defines the other three methods. |
||
{{libheader|matrix}} |
|||
<lang ruby>require 'matrix' |
<lang ruby>require 'matrix' |
||