# HG changeset patch # User Chris Cannam # Date 1384596688 0 # Node ID f06cdae4615e8e17062121268c767b72fee9ecf5 # Parent efff14fce5906478d499a34005cb1d5ef2c60e75 Remove struct member decorations as well diff -r efff14fce590 -r f06cdae4615e src/may/matrix.yeti --- a/src/may/matrix.yeti Fri Nov 15 17:44:46 2013 +0000 +++ b/src/may/matrix.yeti Sat Nov 16 10:11:28 2013 +0000 @@ -47,16 +47,16 @@ DenseRows array | // array of rows DenseCols array | // array of columns SparseCSR { - .values is vec.vector_t, - .indices is array, // column index of each value - .pointers is array, // offset of first value in each row - .extent is number // max possible index + 1, i.e. number of columns + values is vec.vector_t, + indices is array, // column index of each value + pointers is array, // offset of first value in each row + extent is number // max possible index + 1, i.e. number of columns } | SparseCSC { - .values is vec.vector_t, - .indices is array, // row index of each value - .pointers is array, // offset of first value in each column - .extent is number // max pointers index + 1, i.e. number of rows + values is vec.vector_t, + indices is array, // row index of each value + pointers is array, // offset of first value in each column + extent is number // max pointers index + 1, i.e. number of rows }; (); diff -r efff14fce590 -r f06cdae4615e src/may/matrix/complex.yeti --- a/src/may/matrix/complex.yeti Fri Nov 15 17:44:46 2013 +0000 +++ b/src/may/matrix/complex.yeti Sat Nov 16 10:11:28 2013 +0000 @@ -6,9 +6,9 @@ cpx = load may.complex; typedef opaque complexmatrix_t = { - .size is { .rows is number, .columns is number }, - .real is Some mat.matrix_t | None (), - .imaginary is Some mat.matrix_t | None () + size is { rows is number, columns is number }, + real is Some mat.matrix_t | None (), + imaginary is Some mat.matrix_t | None () }; complex real imaginary = //!!! or complex { .real, .imaginary } ? diff -r efff14fce590 -r f06cdae4615e src/may/stream/framer.yeti --- a/src/may/stream/framer.yeti Fri Nov 15 17:44:46 2013 +0000 +++ b/src/may/stream/framer.yeti Sat Nov 16 10:11:28 2013 +0000 @@ -182,8 +182,8 @@ (f = fft.realForward parameters.framesize; map f (windowedFrames parameters stream)); -typedef params = { .framesize is number, .hop is number }; -typedef winparams = { .framesize is number, .hop is number, .window is number -> vec.vector_t }; +typedef params = { framesize is number, hop is number }; +typedef winparams = { framesize is number, hop is number, window is number -> vec.vector_t }; { frames is params -> stream -> list,