Billpeng Space

技术源自生活
  博客园  :: 首页  :: 新随笔  :: 联系 :: 订阅 订阅  :: 管理

2012年3月19日

摘要: // 随机产生散点数据 NSUInteger i; for ( i = 0 ; i < nums ; i++ ) { x [i] = i ; y1 [i] = ( nums * 10 )*( rand ()/( float ) RAND_MAX ); y2 [i] = ( nums * 10 )*( rand ()/( float ) RAND_MAX ); } 阅读全文

posted @ 2012-03-19 10:16 billpeng 阅读(265) 评论(0) 推荐(0) 编辑