Displaying 1 result from an estimated 1 matches for "vame".
Did you mean:
name
2024 Feb 28
3
Initializing vector and matrices
Is there as way to initialize a vector (matrix) with an unknown length
(dimension)? NULL does not seem to work. The lines below work with a
vector of length 4 and a matrix of 4 x 4. What if I do not know
initially the length/dimension of the vector/matrix?
All I want is to add up (accumulate)? the vector and matrix as I go
through the loop.
Or, are there other ways to accumulate such vectors