- 博客(9)
- 收藏
- 关注
原创 python之pip安装第三方库
python之pip安装第三方库前言正文1 新建pip.ini文件 前言 pip 是 Python 包管理工具,该工具提供了对Python 包的查找、下载、安装、卸载的功能。 今天打算学习一下使用python可视化包pygal来生成可缩放的矢量图形文件,结果每次使用pip下载都会遇见如下错误。 ERROR: Could not find a version that satisfies the requirement pygal ERROR: No matching distribution found f
2021-02-24 20:16:05
359
原创 Vue计时器
Vue计时器前言另外一个计时方法解决Vuex库数据在刷新后丢失的问题注 前言 有时候我们可能需要在页面上实时显示在线时长,但是如果采取在登录的时候获取当前时间,然后每1000毫秒,增加一次秒数的方法,当页面刷新以后,可能会导致计时归零的现象。 另外一个计时方法 为了解决上述的问题,我们采取另外一种方法,在用户登录成功的时候我们再发送一个请求给后端,后端记录登录时间等信息(不一定要在发送一个请求,也可以在登录成功后返回的数据里面添加,根据自身情况而定)并返回给前端一个登录时间,前端可以使用Vuex技术把此时间
2021-02-17 14:53:27
1037
2
原创 springboot使用百度地图IP定位API进行定位
springboot使用百度地图IP定位API进行定位一、申请开发者密钥(AK)二、在springboot中调用百度地图的API1、新建一个接口类2、在controller层调用此接口对返回的数据进行提取注: 一、申请开发者密钥(AK) 百度地图定位服务 申请密钥后,可以在控制台-应用管理-我的应用里面查看密钥,如下图所示。 二、在springboot中调用百度地图的API 1、新建一个接口类 新建一个一个包client,在包下面新建一个类命名为baiduMap package com.zhou.clien
2021-02-17 13:11:50
3800
7
原创 LU分解(用C#实现)
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace LU分解 { class LU_resolve { private int n; private double[,] a; private double[] x; public int N { get => n; set => n = value;
2020-07-02 19:15:57
878
1
原创 Gauss_Seidel(用C#实现)
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Gauss_Seidel { class Program { //输入参数 static void InPut(ref int n, ref double[] x, ref double[,] a) { Console.Write(“请输入方程的阶数:”);
2020-07-02 19:15:23
316
原创 Jacobi_迭代(用C#实现)
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Jacobi_迭代 { class Program { //输入参数 static void InPut(ref int n,ref double[] x, ref double[] X,ref double[,] a) { Console.Write(“请输
2020-07-02 19:14:48
738
原创 高斯列主元消元法
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace 高斯列主元消元法 { class Program { //输入参数 static void InPut(ref int n, ref double[,] a) { Console.Write(“请输入方程的阶数:”); //Parese函数:将数字型的stri
2020-07-02 19:12:28
571
1
原创 高斯完全主元消元法
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace 高斯完全主元消元法 { class Program { //输入参数 static void InPut(ref int n, ref double[,] a,ref int []lz) { Console.Write(“请输入方程的阶数:”); //Pare
2020-07-02 19:11:49
1263
原创 高斯消去法(用C#表示)
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace 高斯消去法 { class Program { //输入参数 static void InPut(ref int n,ref double[,]a) { Console.
2020-07-02 19:07:24
688
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人