hi,
i'm coding to take a input vector inputdata, and continuously find standard deviation to count how many distinct data ar available.for this i implement a small method called findk().
[code=java]
public int findk(Vector inputdata ,double minSD)
{
inputdata=new Vector();
double tolerance=0.001 ,thisSD;
Collections.sor t(inputdata);
...
User Profile
Collapse
-
thanks for help. but i dont know how to implement arraylist. when i declared arraylist and stored my result in it, it is stored as a single dimension. then how could i implement the looping for the printing the data in the format i want. please help in coding. it will be of great help. i have to finish my project -
i have given that it is not giving the output in the format how i need. plz go threw my postLeave a comment:
-
it is urgent please help me
[code=java]
public class Point
{
private int x;
private int y;
private int Number;
public Point(int X, int Y)
{
this.x =X;
this.y = Y;
this.Number=0;
}
public void assign(int clustNo)
{
this.Number = clustNo;
}
...Last edited by r035198x; Mar 3 '09, 08:57 AM. Reason: added code tags, please don't forget them next time -
how to write a trigger
thank you for your previous reply.
today i have one more task to finish.
the problem is that
we have an invoice table with fields ( invoice_id,date , item_id,item_na me, price_per_item, quantity,cust_i d)
here (item_id ,item_name and price_per_item) are from table item_details.
now i have to write a trigger to track the users who have changed the price_per_item column before insertion in invoice table.
please... -
horizontal display of records
consider a table employee with fields empid, ename and department.
records areconsider another table salary with fields empid,month,yea r,and amount received every month.Code:(1,Ram,sales),(2,Abi,Purchase)
records are
...Code:(1,january,2007,2500),(1,february,2007,2300), (1,march,2007,2800),(1,april,2007,2300), (1,may,2007,2300),(1,june,2007,3300), (1,july,2007,2300),(1,august,2007,2300), (1,september,2007,4300),(1,october,2007,2300),
Last edited by Atli; Dec 30 '08, 03:55 PM. Reason: Added [code] tags and made the data a little more readable.
No activity results to display
Show More
Leave a comment: