Home > General-Functions > SUGR > Conic_2D > sugr_ConicM_ConicV.m

sugr_ConicM_ConicV

PURPOSE ^

% sugr_ConicM_ConicV transforms conic matrix to conic vector

SYNOPSIS ^

function c = sugr_ConicM_ConicV(C)

DESCRIPTION ^

% sugr_ConicM_ConicV transforms conic matrix to conic vector

 c = sugr_ConicM_ConicV(C)
 
 C = 3x3 symmetric matrix
 c = 6-vector

 wf 11/2012

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:

SOURCE CODE ^

0001 %% sugr_ConicM_ConicV transforms conic matrix to conic vector
0002 %
0003 % c = sugr_ConicM_ConicV(C)
0004 %
0005 % C = 3x3 symmetric matrix
0006 % c = 6-vector
0007 %
0008 % wf 11/2012
0009 
0010 function c = sugr_ConicM_ConicV(C)
0011 
0012 c = [C(1,1) C(1,2) C(2,2) C(1,3) C(2,3) C(3,3)]';
0013 
0014 end

Generated on Sat 21-Jul-2018 20:56:10 by m2html © 2005