ColorPicTips on Getting StartedColorPic

随笔 - 4  文章 - 7  trackbacks - 0
<2025年5月>
27282930123
45678910
11121314151617
18192021222324
25262728293031
1234567

After you've installed the ColorPic you might be wondering how to get started picking colors. Use the tips below to get started selecting colors and use a few advanced features that you might not have know about too.

常用链接

留言簿(1)

随笔档案

文章分类

文章档案

相册

http://cwj-0122.cnblogs.com/

搜索

  •  

最新评论

阅读排行榜

评论排行榜

// Code #01

private string m_Location;
public string Location
{
    
get return m_Location; }
    
internal set { m_Location = value; }
}


public void Boil()
{
    Console.WriteLine(
"Boiling at Room {0}...", m_Location);
}


public final class ArrayUtil {
 
 private ArrayUtil(){
 }
 /**
  * Code shared by RegressionLine and WeightedAverage to discard prefix-zeros of array.
  * if all the elems of array are zero, return null.
  */
 public static double[] discardPrefixZero(double[] data){
  int firstNoZeroIndex = -1;
  for(int i=0;i<data.length;i++) {
   if(data[i] == 0d) {
    continue;
   }
   else{
    firstNoZeroIndex = i;
    break; 
   }

  }
  if(firstNoZeroIndex == -1)
   return null;
  double[] data2 = new double[data.length-firstNoZeroIndex];
  System.arraycopy(data, firstNoZeroIndex, data2, 0, data.length-firstNoZeroIndex);
  return data2;
 }

}
posted on 2008-10-28 16:01 zhqh 阅读(175) 评论(0)  编辑  收藏 所属分类: 面向对象

只有注册用户登录后才能发表评论。


网站导航:
 

aaaaaaaaaaaaaaaaaaaaaa