Gemini 3.1.2 (Build 2257)
Gemini Open Source Project License registered to Math.NET Project
Help
Login
Home
Math.NET Iridium
Math.NET Neodym
Math.NET Yttrium
NeuroBox
{1}
##LOC[OK]##
{1}
##LOC[OK]##
##LOC[Cancel]##
{1}
##LOC[OK]##
##LOC[Cancel]##
Projects
>
Math.NET Iridium
(
IRID
)
Issues
{1}
##LOC[OK]##
{1}
##LOC[OK]##
##LOC[Cancel]##
{1}
##LOC[OK]##
##LOC[Cancel]##
http://tracker.opensourcedotnet.info/Default.aspx?p=2&i=91
IRID-91 - Conversion to double[,]
Created:
03/11/2007 21:30:58
Revised:
13/01/2008 18:24:41
Back to Issue Filter
<<
>>
Hi,
I am using Iridium library with F# for some numerical computations. F# is a functional language that uses type inference during compilation. It does not support explicit casting as in C#. So my problem is following. Sometimes I do not explicitly state type for some variables, relying on type inferencing. By inferencing F# will assign Matrix class type to my variable and there is no way to get double[,] type through implicit casting. The only one work around is to state method, that will provide explicit type reference.
Please, include following code into the library for grater compatibility:
public
double
[,] ToArray()
{
double
[,] newData =
new
double
[m.RowCount, m.ColumnCount];
for
(
int
i = 0; i < _data.RowCount; i++)
for
(
int
j = 0; i < _data.ColumnCount; j++)
newData[i, j] = _data[i, j];
return
newData;
}
Sincrely,
Art
Comments (1)
Attachments (0)
Issue Links (0)
History
Christoph Rüegg
13/01/2008 18:24:39
* CLOSING COMMENT *
This is implemented in revision 304.
{1}
##LOC[OK]##
{1}
##LOC[OK]##
##LOC[Cancel]##
{1}
##LOC[OK]##
##LOC[Cancel]##
Issue ID
IRID-91
Type
Enhancement
Priority
Low
Severity
Trivial
Visibility
Everyone
Assigned To
Christoph Rüegg
Reported By
Art Diky
Component
Linear Algebra
Fixed For Version
[2008.2.10.364] 2008 February (2008.2.10.364)
Affected Versions
Risk Level
No Risk
Status
Closed
Resolution
Complete
Start Date
?
Due Date
?
Votes
0
Print Friendly
{1}
##LOC[OK]##
{1}
##LOC[OK]##
##LOC[Cancel]##
{1}
##LOC[OK]##
##LOC[Cancel]##