44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
|
columns: (size_t)columns;
/**
* \brief Creates a new matrix with the specified dimension and data.
*
* \param rows The number of rows for the matrix
* \param columns The number of colums for the matrix
* \return A new autoreleased OFDoubleMatrix
*/
+ matrixWithRows: (size_t)rows
columnsAndData: (size_t)columns, ...;
/**
* \brief Initializes the matrix with the specified dimension.
*
* If the number of rows and columns is equal, the matrix is initialized to be
* the identity.
*
* \param rows The number of rows for the matrix
* \param columns The number of colums for the matrix
* \return An initialized OFDoubleMatrix
*/
- initWithRows: (size_t)rows
columns: (size_t)columns;
/**
* \brief Initializes the matrix with the specified dimension and data.
*
* \param rows The number of rows for the matrix
* \param columns The number of colums for the matrix
* \return An initialized OFDoubleMatrix
*/
- initWithRows: (size_t)rows
columnsAndData: (size_t)columns, ...;
/**
* \brief Initializes the matrix with the specified dimension and arguments.
*
* \param rows The number of rows for the matrix
* \param columns The number of colums for the matrix
* \param arguments A va_list with data for the matrix
* \return An initialized OFDoubleMatrix
*/
- initWithRows: (size_t)rows
columns: (size_t)columns
arguments: (va_list)arguments;
/**
* \brief Sets the value for the specified row and colmn.
*
* \param value The value
* \param row The row for the value
|
>
>
|
>
>
>
|
>
>
>
>
|
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
|
columns: (size_t)columns;
/**
* \brief Creates a new matrix with the specified dimension and data.
*
* \param rows The number of rows for the matrix
* \param columns The number of colums for the matrix
* \param data The first double of the data for the matrix. The data is in the
* format rows-columns.
* \return A new autoreleased OFDoubleMatrix
*/
+ matrixWithRows: (size_t)rows
columns: (size_t)columns
data: (double)data, ...;
/**
* \brief Initializes the matrix with the specified dimension.
*
* If the number of rows and columns is equal, the matrix is initialized to be
* the identity.
*
* \param rows The number of rows for the matrix
* \param columns The number of colums for the matrix
* \return An initialized OFDoubleMatrix
*/
- initWithRows: (size_t)rows
columns: (size_t)columns;
/**
* \brief Initializes the matrix with the specified dimension and data.
*
* \param rows The number of rows for the matrix
* \param columns The number of colums for the matrix
* \param data The first double of the data for the matrix. The data is in the
* format rows-columns.
* \return An initialized OFDoubleMatrix
*/
- initWithRows: (size_t)rows
columns: (size_t)columns
data: (double)data, ...;
/**
* \brief Initializes the matrix with the specified dimension and arguments.
*
* \param rows The number of rows for the matrix
* \param columns The number of colums for the matrix
* \param data The first double of the data for the matrix. The data is in the
* format rows-columns.
* \param arguments A va_list with data for the matrix
* \return An initialized OFDoubleMatrix
*/
- initWithRows: (size_t)rows
columns: (size_t)columns
data: (double)data
arguments: (va_list)arguments;
/**
* \brief Sets the value for the specified row and colmn.
*
* \param value The value
* \param row The row for the value
|