Free cookie consent management tool by TermsFeed Policy Generator

Opened 8 years ago

Closed 8 years ago

#2637 closed feature request (done)

Conversions from ValueTypeArray/Matrix to standard arrays

Reported by: mkommend Owned by: mkommend
Priority: medium Milestone: HeuristicLab 3.3.14
Component: Data Version: 3.3.13
Keywords: Cc:

Description

When using with HL data types often primitives of the same type are need (e.g., double[,] instead of DoubleMatrix, or int[] instead of IntArray). Although HL data types internally hold the data in such primitive types these are not accessible to restrict manipulation.

For an easier use of HL types and removing the necessity of conversion methods ValueTypeArray and -Matrix should provide methods that clones the encapsulated data and returns the internal primitive type.

Change History (7)

comment:1 Changed 8 years ago by mkommend

  • Status changed from new to accepted

comment:2 Changed 8 years ago by mkommend

  • Owner changed from mkommend to abeham
  • Status changed from accepted to reviewing

r14082: Added CloneAsArray and CloneAsMatrix to the appropriate ValueType classes.

comment:3 Changed 8 years ago by mkommend

  • Owner changed from abeham to architects

comment:4 Changed 8 years ago by mkommend

r14083: Corrected cast and signature of CloneAsArray. (thx abeham)

comment:5 Changed 8 years ago by abeham

reviewed change, very welcomed!

comment:6 Changed 8 years ago by mkommend

  • Owner changed from architects to mkommend
  • Status changed from reviewing to readytorelease

comment:7 Changed 8 years ago by mkommend

  • Resolution set to done
  • Status changed from readytorelease to closed

r14113: Merged r14082, r14083 into stable.

Note: See TracTickets for help on using tickets.