WhyNot?

Vector Datatype

Category: Software
Responses: 3 (1 in support, 0 neutral, 2 in opposition)
Number of views: 730
Tracking: Track this idea
Community Rating:Weak WeakYour Rating:

Last night was turning the pages of Electromagnetic Engineering reference guide and had my eyes glued to the Vector and Scalar calculus. I thought it would be a good idea to have Vector datatype in Programming languages. I know, some of you might already have thought about the usage. The one which immediately hits my mind is in data crunching. Say in reporting Sales of a company. The direction of the vector can be used to show in which direction the business is heading. The same is done currently also but somehow I feel inbuilt vector datatype will make life more easier. Am trying to get a real life scenarios which proves my point. What u guys have to say?

sidmania2008, Aug 25 2008

What do you think of this idea or comment?
(You can change your vote at any time)

agree I agree no opinion No opinion disagree I disagree

Users who liked this idea also liked:

Other ideas in category (Software):

Salty encryption (1 votes) Average
mute a web page (11 votes) Strong
Distributed set with bittorren (1 votes) Average
Text VoIP (1 votes) Average
Economics Simulation (9 votes) Strong
Invention Management Software (3 votes) Average
Attachment Notation (137 votes) Very strong
Fight Recognition Software (3 votes) Average
Make Photo Slideshow yourself (2 votes) Average
Studying leaf patterns (3 votes) Average
Encryption (3 votes) Weak
Searching for images (6 votes) Average
Compiler Security Optimization (4 votes) Average
Vector Datatype (3 votes) Weak
LIP-C (1 votes) Average
Spell checker collector (2 votes) Average
Cascading search (3 votes) Average
Software Formula for 2000 Years (3 votes) Weak
Triangular Pixels (4 votes) Average
Forwarding sent email message (5 votes) Average
Organise the Start menu (6 votes) Average
Simple Shared Key Setup (1 votes) Average
DDR-style piano software (4 votes) Average
root means suid (2 votes) Average
Scorchware (2 votes) Average
Six Degrees of Computation (2 votes) Average
X-drive ==> 2 physical drives (3 votes) Average
Fast parallel secure hashing (1 votes) Average
Standardized EULA (2 votes) Average
Description field for email (3 votes) Average
Honeypot feedback/automation (1 votes) Average
Audio bass and treble (3 votes) Average
Extension that highlights tags (1 votes) Average
Upper-lower case (2 votes) Average
New image file format (2 votes) Average
dual scroll bars (6 votes) Average
Tabbed Working (3 votes) Average
Temporary file highlight (5 votes) Strong
Better Search Engine Links (2 votes) Average
Smarter Programming (5 votes) Strong
Linux Distro for Business (2 votes) Average
File multiple rev eliminator (3 votes) Average
Mech. Design Software (2 votes) Average
Checking email addresses (3 votes) Average
Why Powerpoint? Be nonlinear (6 votes) Strong
Chat with iTunes Listeners (3 votes) Average
Ebay database (2 votes) Average
Encrypts the whole OS (2 votes) Average
Wind offset for car (3 votes) Weak
Collaborative License Rating (4 votes) Average
Multiscopic image modeler (2 votes) Average
Simple fix for posting here (1 votes) Average
Torrent-based podcasting (2 votes) Average
Browser Preloads Next Page (4 votes) Average
Officepets (3 votes) Average
Self Authentication & Decryptn (1 votes) Average
Ductile disk encryption (2 votes) Average
Printing Cost per Page (2 votes) Average
Community Font Classification (1 votes) Average
Ubiquitous virtual honeypots (7 votes) Strong
MS Outlook spouses (1 votes) Average
MS Outlook Contacts updates (1 votes) Average
One card for the wallet (12 votes) Strong
Camera as A4 Scanner (6 votes) Strong
Ogg/PCM (3 votes) Average
Keyboard equivalents (1 votes) Average
OS for visually impaired (4 votes) Average
Window Size Limiter (1 votes) Average
Print Police (1 votes) Average
MS Outlook Highlighter (1 votes) Average
Eye-Tracking Video Drivers (2 votes) Average
Linipedea (3 votes) Weak
MS Word Bookmarks & Summaries (3 votes) Average
anti-virus T-cells (2 votes) Average
savable scroll bars (2 votes) Average
save changes dialog options (3 votes) Average
Viral Marketing in Open Source (7 votes) Weak
Microsoft CD Bug Fixes (4 votes) Average
Virtual Scanner Software (5 votes) Average
Better Shrink Wrapped License (3 votes) Average
Bayesian learning for (4 votes) Average
enclosures (2 votes) Average
Chat Prog & Problem Solving (2 votes) Average
Comments from other members:

Add your comment

Just a quick correction - I assume you mean a new Vector datatype (there are existing Vector datatypes that are basically arrays)... a kind of primitive Vector datatype?

ie

2d vectordirectionforce

3d vectorxy_directionz_directionforce

Would be very useful but the OOP paradigm and 'base' for all programming languages will only contain the fundemental building blocks with which the programmer can then define everything else.

You can easily define vectors yourself :)

luappy13, Aug 25 2008

The future in Programming Languages will be IOP (Individual Oriented Programming) not OOP, and a vector of parameters (and types) of the problems.

gmatei, Nov 19 2008

struct vector{ char* vect;};

There. Your data type is now defined. You can make each element in the vector be whatever primitive type you wish. Obviously, this silly and incomplete example can be coded in just about any language.

The trouble doesn't come in the representation of the data on the system, the problem comes in efficient algorithms to do the math. I believe the best we have now are some polynomial-time, dynamic-programming algorithms to determine the legal order of operations that produces the least number of machine operations. You don't see any real improvement in speed until you are doing operations on thousands of HUGE vectors.

nameless_centurian, May 28 2009