Anonymous user
Vector products: Difference between revisions
m
→{{header|Ruby}}: Remove phantom category 'matrix'.
(→{{header|Euphoria}}: Euphoria example added) |
m (→{{header|Ruby}}: Remove phantom category 'matrix'.) |
||
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.
<lang ruby>require 'matrix'
|