December 6th, 2011, 05:53 PM
Thanks. I'll look more into the array class and find out what else is possible with it.
December 6th, 2011, 10:16 AM
Essentially I did use System.arraycopy but I realized that I am printing the array wrong.
I should use:
private static void print(double[] lines) {
for(int i = 0; i <...
December 5th, 2011, 09:40 PM
Hi all,
This may be a stupid question, but how do you copy the content of one array to another.
I tried many different ways but it keep give the location of the pointer in memory rather than the...
December 3rd, 2011, 04:33 PM
Option 2 worked fine for me.
Thanks a lot!
December 3rd, 2011, 03:39 PM
Silly mistake, fixed this.
I'll try the rest now and get back to you.
Thank you so much for clarifying.
December 3rd, 2011, 02:58 PM
Thanks for your reply. I started doing this:
import java.io.*;
public class InputTest {
public static void main(String[] args) {
double[] xlines = new double[0]; //array to...
December 3rd, 2011, 01:09 PM
Hello all,
I have a project fro school i need to some help with. I am calculating regression on a set of numbers from a CSV file. The CSV file has a pair for number where each line represent a...