The matrix library math/matrix uses values with the type Array to
represent matrices.
A mathematical column vector is simply represented as a nx1 matrix.

## Advertising

Multiplying the matrix
1 0
0 2
on the vector
3
4
can be written:
(require math/matrix)
(matrix* (matrix [[1 0]
[0 2]])
(col-matrix [3 4]))
/Jens Axel
2016-09-16 3:39 GMT+02:00 Lawrence Bottorff <borg...@gmail.com>:
> I'm trying out some of the math capabilities of Racket and I'm guessing
> the linear algebra concept of a vector is actually an Array type in Racket,
> not a Vector. Is this correct? Racket's Vector is a data (as with Java's
> Vector) structure, right?
>
> --
> You received this message because you are subscribed to the Google Groups
> "Racket Users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to racket-users+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>
--
--
Jens Axel Søgaard
--
You received this message because you are subscribed to the Google Groups
"Racket Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to racket-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.