|
D.6.14.7 relweight
Procedure from library spcurve.lib (see spcurve_lib).
- Usage:
- relweight(N,W,a); N matrix, W intmat, a intvec
- Assume:
- N is a non-zero matrix
W is an integer matrix of the same size as N
a is an integer vector giving the weights of the variables
- Return:
- integer, max(a-weighted order(N_ij) - W_ij | all entries ij)
string "ERROR" if sizes do not match
Example:
|