jgar's Profile User Rating: -----

Reputation: 0 Apprentice
Group:
Members
Active Posts:
16 (0.02 per day)
Joined:
31-August 12
Profile Views:
251
Last Active:
User is offline Sep 27 2012 07:57 PM
Currently:
Offline

Previous Fields

Country:
Who Cares
OS Preference:
Who Cares
Favorite Browser:
Who Cares
Favorite Processor:
Who Cares
Favorite Gaming Platform:
Who Cares
Your Car:
Who Cares
Dream Kudos:
0

Latest Visitors

Icon   jgar has not set their status

Posts I've Made

  1. In Topic: Adding Matrix

    Posted 27 Sep 2012

    What I do not know how to do is how can I implement a function to add two matrices
    and return the result as a pointer to a new matrix, which would be the sum of the original 2 matrices.

    I am very confuse....

    double add(class matrix)
    {
    
    	entries = new double *[rows];
    
    	if (rows = matrix.rows && columns == matrix.columns)
    
    		for (int i =0; i < rows; i++)
    		{
    		for( int j =0; j< columns; j++)
    		{
    			entries[rows][columns] = entries[rows][columns] + matrix[rows][columns];
    		}
    
    return entries[rows][columns];
    };
    
    
  2. In Topic: Adding Matrix

    Posted 27 Sep 2012

    PLEASE CAN ANYONE GIVE SOME TIPS???
    OR TELL ME IF I AM IN THE RIGHT WAY??

My Information

Member Title:
New D.I.C Head
Age:
Age Unknown
Birthday:
Birthday Unknown
Gender:

Contact Information

E-mail:
Private

Friends

jgar hasn't added any friends yet.

Comments

jgar has no profile comments yet. Why not say hello?