func NewCDense(r, c int, data []complex128) *CDense {
	if r <= 0 || c <= 0 {
		if r == 0 || c == 0 {
			panic(ErrZeroLength)
		}
		panic("mat: negative dimension")
	}
	if data != nil && r*c != len(data) {
		panic(ErrShape)
	}
	if data == nil {
		data = make([]complex128, r*c)
	}
	return &CDense{
		mat: cblas128.General{
			Rows:   r,
			Cols:   c,
			Stride: c,
			Data:   data,
		},
		capRows: r,
		capCols: c,
	}
}
// NewCDense creates a new complex Dense matrix with r rows and c columns.
// If data == nil, a new slice is allocated for the backing slice.
// If len(data) == r*c, data is used as the backing slice, and changes to the
// elements of the returned CDense will be reflected in data.
// If neither of these is true, NewCDense will panic.
// NewCDense will panic if either r or c is zero.
//
// The data must be arranged in row-major order, i.e. the (i*c + j)-th
// element in the data slice is the {i, j}-th element in the matrix.
NewCDense creates a new complex Dense matrix with r rows and c columns.
If data == nil, a new slice is allocated for the backing slice.
If len(data) == r*c, data is used as the backing slice, and changes to the
elements of the returned CDense will be reflected in data.
If neither of these is true, NewCDense will panic.
NewCDense will panic if either r or c is zero.

The data must be arranged in row-major order, i.e. the (i*c + j)-th
element in the data slice is the {i, j}-th element in the matrix.
// NewCDense creates a new complex Dense matrix with r rows and c columns . // If data == nil a new slice is allocated for the backing slice . // If len ( data ) == r * c data is used as the backing slice and changes to the // elements of the returned CDense will be reflected in data . // If neither of these is true NewCDense will panic . // NewCDense will panic if either r or c is zero . // // The data must be arranged in row - major order i . e . the ( i * c + j ) - th // element in the data slice is the { i j } - th element in the matrix .
func NewCDense(r, c int, data []complex128) *CDense {
	if r <= 0 || c <= 0 {
		if r == 0 || c == 0 {
			panic(ErrZeroLength)
		}
		panic("mat: negative dimension")
	}
	if data != nil && r*c != len(data) {
		panic(ErrShape)
	}
	if data == nil {
		data = make([]complex128, r*c)
	}
	return &CDense{
		mat: cblas128.General{
			Rows:   r,
			Cols:   c,
			Stride: c,
			Data:   data,
		},
		capRows: r,
		capCols: c,
	}
}
func NewCDense ( r , c int , data [ ] complex128 ) * CDense { if r <= 0 || c <= 0 { if r == 0 || c == 0 { panic ( ErrZeroLength ) } panic ( " " ) } if data != nil && r * c != len ( data ) { panic ( ErrShape ) } if data == nil { data = make ( [ ] complex128 , r * c ) } return & CDense { mat : cblas128 . General { Rows : r , Cols : c , Stride : c , Data : data , } , capRows : r , capCols : c , } }
NewCDense creates a new complex Dense matrix with r rows and c columns.
NewCDense creates a new complex Dense matrix with r rows and c columns .