SetValues¶
-
virtual void IMatrix::SetValues(const std::vector<std::vector<double>> &values) = 0¶
Sets the matrix values.
- Parameters
values – Matrix values where outer and inner vectors represent row and column values respectively.
- Throws
CInvalidArgumentException
– Argument dimensions do not match with matrix dimensions.CInvalidArgumentException
– Invalid matrix value (NaN).CCommunicationErrorException
– Protocol error.CConnectionLostException
– Connection to controller lost.CRebootedException
– Controller has been rebooted since this object reference was retrieved, invalidating this reference.CObjectDestroyedException
– Object is destroyed.