cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Extend data types

0 Kudos

Extend data types

This is probably for Prime 3.0

I'd like the ability to extend the data types, via some sort of compiled software interface for instance, e.g. being able to add a quaternion data type (perhaps as a 4 element vector type that is recognised as such) so that one can do extended algebra on whatever new data type one has invented. (the big problem at the moment is there is no available developer definition of nested arrays, or string arrays)

If scalar=0, and matrix =1, then 2=MyType, etc, so that other functions can confirm what they are - Same as IsArray IsScalar IsString ... IsType => MyType [so the type could have a number and a name etc.]

This obviously would also mean that one should be able to extend the multiply and add functions etc.(need a way of doing that)

When I'm forced to use Matlab it is often because of the ability to extend the compute capability.

Being able to detect that some Matrix or vector is of a specific 'size' may be equivalent [this is similar to the extra user dimension types - count of apples, count of oranges; this is data of type]

This is a functional style capability, it gives the people the ability to expand the capability in a general manner.

Philip

2 Comments
MikeArmstrong
5-Regular Member

Good idea Phillip.

Didn't half have me thinking of different options.

Mike

olivierlp
Community Manager
Status changed to: Archived

Hello,

We are archiving your idea as part of a general review. This action is based on the age of your idea and the total number of votes received, as per this announcement.

You can always post a new idea with all the details required in the form.

Thank you for your participation.