登录
首页 » 算法 » 幻方

幻方

于 2023-03-28 发布 文件大小:36.31 kB
0 150
下载积分: 2 下载次数: 1

代码说明:

在娱乐数学幻方是安排不同的数字 (即每个数字使用一次),通常是整数,在正方形网格中,在那里在每一行和每一列中的数字和中向前和向后主对角线上的数字都加起来到相同的编号。幻方具有相同的行数以及它有根柱子,在常规的数学符号,"n"代表数量的行 (和列),它有。因此,魔术广场总是包含 n2 的数字,和它的大小 (行 [和列],它具有数目) 被形容为"的 n 阶"。[1] 包含从 1 到 n2 整数的魔术方块被称为正常的幻方。("魔方"一词有时也用于指各种类型的单词方块。)有可能构建任何大小除了 2 × 2 正常幻方 (也就是说,其中 n = 2),虽然幻方的解决方案其中 n = 1 是微不足道的因为它只是由单个单元格包含数字 1。小非平凡案例,如下所示,是一个 3 × 3 网格 (也就是说,三阶的魔术广场)。这是解决 nxn 幻方的项目

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • gtchb6xjunbu6jvn jknmjunjhbnhb
    gtchb6xjunbu6jvn jknmjunjhbnhb
    2023-02-23 11:50:04下载
    积分:1
  • use Matlab for achieving the kmeans algorithm. Data sets.
    使用matlab进行实现的kmeans算法。数据集。-use Matlab for achieving the kmeans algorithm. Data sets.
    2023-01-25 08:25:04下载
    积分:1
  • 一种用matlab写的群集智能
    一种用matlab写的群集智能算法-蚁群算法-Of a cluster with matlab to write intelligent algorithm- ant colony algorithm
    2022-02-05 07:36:18下载
    积分:1
  • youhuasuanfa
    这时一道关于优化算法的题目,本人费劲周折终成大果!拿来分享!-youhuasuanfa
    2022-01-28 09:43:03下载
    积分:1
  • 聚类实现
    聚类算法VC++,可产生随机数,实现了k均值聚类算法和ISODATA算法,可实现样本的载入和聚类,系统在Vc++6平台下运行,有运行的界面和菜单,聚类数目可以人为设定,不同类别以不同的颜色来表示。
    2022-02-26 11:54:45下载
    积分:1
  • 彩色图像的人脸检测
    face detection in color image
    2022-07-25 12:51:42下载
    积分:1
  • 三对角矩阵最常用最快速的追赶,应用广泛。更是样条插值逆运的重要工具...
    三对角矩阵最常用最快速的追赶法,应用广泛。更是样条插值逆运算的重要工具-Tridiagonal matrix most commonly used to catch up with the most rapid method, widely used. Spline Interpolation is an important tool for inverse operation
    2023-06-26 10:10:03下载
    积分:1
  • 逐次超松弛迭代(逐次超松弛,…
    逐次超松驰迭代法(Successive Over Relaxation Me thod,简称SOR方法)是高斯―塞德尔方法的一种加速方法,是解大型稀疏矩阵方程组的有效方法之一,它具有计算公式简单,程序设计容易,占用计算机内存较少等优点,但需要较好的加速因子(即最佳松驰因子).下面我们首先说说松驰一词的含意,再利用它来解释雅可比迭代法与高斯―塞德尔迭代法,最后给出逐次超松驰迭代法的推算公式和收敛性条件.-Successive over relaxation iteration method (Successive Over Relaxation Me thod, called SOR method) is the Gauss- Seidel method for an accelerated method is solution of large sparse matrix equations, one effective method, it has a simple formula, programming easy, take up less computer memory, etc., but the need for better acceleration factor (that is, the best relaxation factor). Let us first talk about the meaning of the term relaxation, and then use it to explain the Jacobi s iterative method and the Gauss- Seidel iterative method, and finally gives successive over relaxation iterative method of projection formula and the convergence condition.
    2022-03-31 14:51:19下载
    积分:1
  • 弦截求解非线性方程,已在TC2.0环境中编译通过
    弦截法求解非线性方程,已在TC2.0环境中编译通过-xianjie method for solving nonlinear equations, in the environment WITH TC 2.0 compiler through
    2022-01-26 05:18:18下载
    积分:1
  • 基于信号强度的垂直切换
    本代码是主基础基于信号强度的垂直切换算法的一个仿真代码。其中考虑到影响信号强度的有大尺度衰落和小尺度衰落。本代码给出了一个简单的模型。代码如下:
    2022-11-03 14:15:03下载
    积分:1
  • 696518资源总数
  • 105958会员总数
  • 18今日下载